﻿using System;
using Microsoft.Phone.Controls;

namespace DevPhoneToolkitSample
{
    public partial class MenuControls : PhoneApplicationPage
    {
        public MenuControls()
        {
            InitializeComponent();
        }

        private void ApplicationBarIconButtonClick(object sender, EventArgs e)
        {
            NavigationService.Navigate(new Uri("/QualityBand.xaml", UriKind.Relative));
        }

        private void UpDownControlSampleClickItem(object sender, EventArgs e)
        {
            NavigationService.Navigate(new Uri("/Samples/UpDownControlSample.xaml", UriKind.Relative));
        }

        private void HtmlAttachedSampleClickItem(object sender, EventArgs e)
        {
            NavigationService.Navigate(new Uri("/Samples/HtmlAttachedSample.xaml", UriKind.Relative));
        }

        private void ClipAttachedSampleClickItem(object sender, EventArgs e)
        {
            NavigationService.Navigate(new Uri("/Samples/ClipAttachedSample.xaml", UriKind.Relative));
        }

        private void ZoomAttachedSampleClickItem(object sender, EventArgs e)
        {
            NavigationService.Navigate(new Uri("/Samples/ZoomAttachedSample.xaml", UriKind.Relative));
        }

        private void CalendarControlSampleClickItem(object sender, EventArgs e)
        {
            NavigationService.Navigate(new Uri("/Samples/CalendarControlSample.xaml", UriKind.Relative));
        }

        private void ExpanderControlSampleClickItem(object sender, EventArgs e)
        {
            NavigationService.Navigate(new Uri("/Samples/ExpanderControlSample.xaml", UriKind.Relative));
        }

        private void DropDownControlSampleClickItem(object sender, EventArgs e)
        {
            NavigationService.Navigate(new Uri("/Samples/DropDownControlSample.xaml", UriKind.Relative));
        }

        private void MessageSampleClickItem(object sender, EventArgs e)
        {
            NavigationService.Navigate(new Uri("/Samples/WindowsBoxSample.xaml", UriKind.Relative));
        }

        private void ListPickerSampleClickItem(object sender, EventArgs e)
        {
            NavigationService.Navigate(new Uri("/Samples/ListPickerPageSample.xaml", UriKind.Relative));
        }

        private void DatePickerSampleClickItem(object sender, EventArgs e)
        {
            NavigationService.Navigate(new Uri("/Samples/DatePickerBoxSample.xaml", UriKind.Relative));
        }

        private void TimePickerSampleClickItem(object sender, EventArgs e)
        {
            NavigationService.Navigate(new Uri("/Samples/TimePickerBoxSample.xaml", UriKind.Relative));
        }

        private void CheckPickerSampleClickItem(object sender, EventArgs e)
        {
            NavigationService.Navigate(new Uri("/Samples/CheckPickerPageSample.xaml", UriKind.Relative));
        }

        
    }
}